package com.ms.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Tag(name = "测试接口")
@Slf4j
public class TestController {

    @GetMapping("/hello")
    @Operation(summary = "测试接口")
    public String hello() {
        return "Hello, Music Sharing!";
    }
}